<template>
	 <div class='jijiang'>
                <div class="jijiang_header">
                    <i></i>
                    <span>即将上映</span>
                </div>
                <ul>
                    <li v-for='jijiangs in jijiang'>
                        <router-link :to='{name:"details",params:{id:jijiangs.id}}'>
                            <img v-bind:src="jijiangs.cover.origin" alt="">
                            <div>
                                <div class="left">
                                    <h4 v-text='jijiangs.name'></h4>
                                </div>
                                <div class="right">
                                </div>
                            </div>
                        </router-link>
                    </li>
                </ul>
            </div>
</template>
<script>
	export default {
		data:function(){
			return {
				jijiang:''
			}
		},
		mounted:function(){
			var that =this;
			$.get('http://10.20.159.13:3000/jijiang', function(res) {
                    // console.log(res)
                    that.jijiang = res.data.films
                })
		}
	}
</script>